<layout name="layout" />

<script src="{$uri}Public/Scripts/PSI/Express/MainForm.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Express/AddForm.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Express/EditForm.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Customer/CustomerField.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script>
	Ext.onReady(function() {
		var app = Ext.create("PSI.App", {
			userName : "{$loginUserName}",
			productionName : "{$productionName}"
		});
		
		app.add(Ext.create("PSI.Express.MainForm", {
			pAdd: "{$pAdd}",
			pEdit: "{$pEdit}"
		}));

		app.setAppHeader({
			title : "{$title}",
			iconCls : "PSI-fid2031"
		});
	});
</script>